this._removeMenuTimeout();
this._menuTimeoutId = Mainloop.timeout_add(MENU_POPUP_TIMEOUT,
Lang.bind(this, function() {
+ this._menuTimeoutId = 0;
this.popupMenu();
+ return false;
}));
} else if (button == 3) {
this.popupMenu();
},
_vpnChildFinished: function(pid, status, requestObj) {
+ this._childWatch = 0;
if (this._newStylePlugin) {
// For new style plugin, all work is done in the async reading functions
// Just reap the process here
},
appendTimestamp: function() {
+ this._timestampTimeoutId = 0;
+
let lastMessageTime = this._history[0].time;
let lastMessageDate = new Date(lastMessageTime * 1000);
let dialogContent = DialogContent[this._type];
let button = dialogContent.confirmButtons[dialogContent.confirmButtons.length - 1];
this._confirm(button.signal);
+ this._timerId = 0;
return false;
}));
this._lastHoveredWindow = dragEvent.targetActor._delegate.metaWindow;
this._windowSwitchTimeoutId = Mainloop.timeout_add(DND_WINDOW_SWITCH_TIMEOUT,
Lang.bind(this, function() {
+ this._windowSwitchTimeoutId = 0;
this._needsFakePointerEvent = true;
Main.activateWindow(dragEvent.targetActor._delegate.metaWindow,
this._windowSwitchTimestamp);
this.hide();
this._lastHoveredWindow = null;
+ return false;
}));
}
}
this._recalculateWindowPositions(WindowPositionFlags.ANIMATE);
+ this._repositionWindowsId = 0;
return false;
},